package com.xiaoshuidi.cloud.module.report.convert.finance;

import com.xiaoshuidi.cloud.module.report.controller.finance.vo.OwnerAdvanceContractRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.OwnerCollectInAdvanceExportRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.OwnerCollectInAdvanceRespVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.OwnerCollectInAdvanceDO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.OwnerIncomeDetailReportDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 权责收入 转换类
 */
@Mapper
public interface OwnerCollectInAdvanceConvert {

    OwnerCollectInAdvanceConvert INSTANCE = Mappers.getMapper(OwnerCollectInAdvanceConvert.class);

    List<OwnerCollectInAdvanceRespVO> convertDOList2AdvanceVOList(List<OwnerCollectInAdvanceDO> advanceDOList);

    List<OwnerAdvanceContractRespVO> convertDOList2AdvanceContractVOS(List<OwnerCollectInAdvanceDO> advanceDOList);

    List<OwnerCollectInAdvanceExportRespVO> convertDOList2AdvanceExport(List<OwnerCollectInAdvanceDO> advanceDOList);

    OwnerCollectInAdvanceDO convertDetail2Advance(OwnerIncomeDetailReportDO incomeDetail);
}
